<template>
	<view class="helpText">
		<comHead :title="$t('grzx.daan')" :isLeft="true" :isRight="false"></comHead>
		<view class="text" v-html="detail.content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				detail:{}
			}
		},
		onLoad(options) {
			this.id = options.id
			this.getSystemHelpsDetail()
		},
		methods: {
			async getSystemHelpsDetail() {
				const res = await this.$myRequest({
					url: 'api/system/getSystemHelpsDetail',
					data: {
						system_helps_id:this.id
					}
				})
				if (res.code == 1) {
					console.log(res)
					this.detail = res.data
				}
			},
		}
	}
</script>

<style lang="less" scoped>
	.helpText {
		height: 100vh;


		.text {
			display: flex;
			flex-direction: column;
			padding: 30rpx;
			box-sizing: border-box;
			color: #fff;
			font-size: 34rpx;
			line-height: 1.6;
		}
	}
</style>